package com.example.service;

import com.example.entity.LockDevice;
import com.example.entity.LockDeviceInfo;

import java.util.List;

public interface LockDeviceInfoService {
    //查询所有的设备
    List<LockDeviceInfo> getAllDevice();
    List<LockDeviceInfo> selectDeviceByName(LockDeviceInfo lockDeviceInfo);
    List<LockDevice> selectDeviceByCountyId(LockDevice lockDevice);
    LockDeviceInfo selectDeviceById(LockDeviceInfo lockDeviceInfo);
    //新增一台设备
    int insertDevice(LockDeviceInfo lockDeviceInfo);
    //更新设备信息
    int updateDevice(LockDeviceInfo lockDeviceInfo);
}
